home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr47 / sb16snd.zip / SBIO.H < prev    next >
C/C++ Source or Header  |  1995-02-18  |  742b  |  31 lines

  1. /*           Copyright 1995 by Ethan Brodsky.  All rights reserved          */
  2.  
  3. /* ██ SBIO.H ██████████████████████████████████████████████████████████████ */
  4.  
  5. #define TRUE  1
  6. #define FALSE 0
  7.  
  8.   typedef enum {input, output} mode;
  9.  
  10.  /* Interface procedures and functions */
  11.   int init_sb
  12.    (
  13.     int  baseio,
  14.     char irq,
  15.     char dma16,
  16.     mode io,
  17.     unsigned int rate
  18.    );
  19.   void shutdown_sb(void);
  20.  
  21.   void startio(unsigned long length);
  22.   void sethandler(void far *proc);
  23.  
  24.   void getbuffer(int far **bufptr, unsigned int length);
  25.   void freebuffer(int far **bufptr);
  26.  
  27.   extern volatile long intcount;
  28.   extern volatile int  done;
  29.   extern volatile char curblock;
  30.   extern volatile long samplesremaining;
  31.